import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { CasePageModule, CasePageRouterModule } from '../../business/case-page/api';
import { BasicModule } from './basic/basic.module';
import { Demo2Module } from './demo2/demo2.module';
import { Demo3Module } from './demo3/demo3.module';
import { Demo4Module } from './demo4/demo4.module';
import { Demo5Module } from './demo5/demo5.module';
import { DynamicFormModule } from './dynamic-form/dynamic-form.module';
import { ComplexFormModule } from './complex-form/complex-form.module';
import { Demo8Module } from './demo8/demo8.module';
import { SizeModule } from './size/size.module';
import { WithDrawerModule } from './with-drawer/with-drawer.module';

const ComponentModules = [BasicModule, Demo2Module, Demo3Module, Demo4Module, Demo5Module, DynamicFormModule, ComplexFormModule, Demo8Module, SizeModule, WithDrawerModule];

@NgModule({
  imports: [CommonModule, CasePageModule, CasePageRouterModule, FormsModule, ...ComponentModules]
})
export class FormDemoModule {}
